					<?php echo form_open_multipart('admin/diadiemlanAdmin/xulycapnhat', array('id'=>'form'));?>
                      <table>
                        <legend>CẬP NHẬT THÔNG TIN ĐỊA ĐIỂM LẶN</legend>
                      <tr>  
                        <td><label for="lastname">Tên địa điểm : </label> </td>
                        <td><input name="tenddl" id="tenddl" type="text" tabindex="1" value="<?php echo $cnddl->tenddl; ?>" /></td>
                      </tr>
                      <tr>                     
                        <td><label for="lastname">Hình ảnh : </label></td>
                        <td><img src="<?php echo base_url().'asset/upload/'.$cnddl->hinh; ?>" width="80" height="60"></td>
                      </tr>
                      <tr>
                        <td><label for="lastname"></label></td> 
                       <td> <input name="hinh" id="hinh" type="file" tabindex="5" /></td>
                      </tr>
                      <tr>
                        <td><label for="lastname">Mô tả : </label></td> 
                        <td><textarea name="mota" tabindex="6" cols="10" rows="5"><?php echo $cnddl->mota; ?></textarea></td>
                      </tr>
                      <tr>
                        <td><label for="lastname">Hiển thị : </label></td> 
                        <td><input name="hienthi" id="hienthi" type="checkbox" tabindex="7" value="true" <?php echo $cnddl->hienthi == 'true' ? 'checked="checked"' : '';?>  /></td>
                        
                       </tr> 
                      </table>
                      
                      
                      <div align="center">
                      <input id="button1" type="submit" value="Save" /> 
                      <input id="button2" type="reset" />
                      </div>
                   		<input type="hidden" name="maddl" id="maddl" value="<?php echo $cnddl->maddl; ?>">
                    </form>